package com.xczl.demo.domain;

import org.apache.ibatis.type.Alias;

/**
 * 用户实体类
 * @author Administrator
 *
 */
@Alias("user")
public class User {

	/**
	 * 主键
	 */
	private Integer userId;
	
	/**
	 * 外键
	 */
	private Integer levelId;
	
	/**
	 * 用户姓名
	 */
	private String name;
	
	/**
	 * 用户性别
	 */
	private Integer sex;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getLevelId() {
		return levelId;
	}

	public void setLevelId(Integer levelId) {
		this.levelId = levelId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}
}
